<!-- locals: actual -->

<table class="fill_body">
    <tr>
        <th colspan="5">
            <%= link_to 'Escribir mensaje', :action => 'escribir' %>
        </th>
    </tr>
    <tr align="center">
    	<%if @current_action == 'mailbox'%>
			<th>Todos</th>
		<%else%>
	        <td><%= link_to 'Todos', :action=>'mailbox', :box=>'todos' %></td>
		<%end%>
		<%unless @current_action == 'no_leidos' then%>
	        <td><%= link_to 'No leidos', :action=>'mailbox', :box=>'no_leidos' %></td>
		<%else%>
			<th>No leidos</th>
		<%end%>
		<%unless @current_action == 'leidos' then%>
	        <td><%= link_to 'Leidos', :action=>'mailbox', :box=>'leidos' %></td>
		<%else%>
			<th>Leidos</th>
		<%end%>
		<%unless @current_action == 'sentbox' then%>
	        <td><%= link_to 'Enviados', :action=>'sentbox' %></td>
		<%else%>
			<th>Enviados</th>
		<%end%>
		<%unless @current_action == 'trash' then%>
	        <td><%= link_to 'Eliminados', :action=>'trash' %></td>
		<%else%>
			<th>Eliminados</th>
		<%end%>
    </tr>
</table>
